import { axios } from '@/utils/request'

const url = '/visitors'

export function getVisitorList (parameter) {
  return axios({
    url: url,
    method: 'get',
    params: parameter
  })
}

export function getAreaCount (parameter) {
  return axios({
    url: '/visitor/areaCount',
    method: 'get',
    params: parameter
  })
}

export function getCitysearchList (parameter) {
  return axios({
    url: '/citysearch',
    method: 'get',
    params: parameter
  })
}

export function getIpsearchList (parameter) {
  return axios({
    url: '/ipsearch',
    method: 'get',
    params: parameter
  })
}

export function getBlockedIpSearchList (parameter) {
  return axios({
    url: '/blockedIpSearch',
    method: 'get',
    params: parameter
  })
}

export function getGroupLog (parameter) {
  return axios({
    url: '/get-group-log',
    method: 'get',
    params: parameter
  })
}

export function getCouponLog (parameter) {
  return axios({
    url: '/get-coupon-log',
    method: 'get',
    params: parameter
  })
}

export function getMxsearchList (parameter) {
  return axios({
    url: '/mxsearch',
    method: 'get',
    params: parameter
  })
}

export function getSysearchList (parameter) {
  return axios({
    url: '/symx',
    method: 'get',
    params: parameter
  })
}

export function getMxsearchList2 (parameter) {
  return axios({
    url: '/daywithdraw2',
    method: 'get',
    params: parameter
  })
}

export function getTaskdayLogList (parameter) {
  return axios({
    url: '/taskday-log',
    method: 'get',
    params: parameter
  })
}

export function getDoubleList (parameter) {
  return axios({
    url: '/card-asset-records/double_box',
    method: 'get',
    params: parameter
  })
}
